

package com.gehj.base;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

import com.gehj.alluitls.androidUtils.NotificationUtils;


public class MainActivity_check_notification extends AppCompatActivity {
    private Button buttonSure;
    private Button btnCancel;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.popwin_is_open_notification);

        initView();
    }

    private void initView() {
        buttonSure = (Button) findViewById(R.id.button_sure);
        btnCancel = (Button) findViewById(R.id.btn_cancel);

        btnCancel.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        buttonSure.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                NotificationUtils.openNotifySetting(MainActivity_check_notification.this);
                finish();

            }
        });
    }
}